<template>
  <div>
    <Form :label-width="120" :model="form" :rules="rules">
      <Row class="pr">
        <Col span="11">
          <FormItem label="门店类型：">
            <p>{{form.storeTypeName}}</p>
          </FormItem>
        </Col>
        <Col span="11">
          <FormItem label="门头编号：">
            <p>{{form.storeNo}}</p>
          </FormItem>
        </Col>
      </Row>
      <Row class="pr">
        <Col span="11">
          <FormItem label="联系人：">
            <p>{{form.storeContactName}}</p>
          </FormItem>
        </Col>
        <Col span="11">
          <FormItem label="经销商：">
            <p>{{form.distributorName}}</p>
          </FormItem>
        </Col>
      </Row>
      <Row class="pr">
        <Col span="11">
          <FormItem label="地区：">
            <p>{{form.address}}</p>
          </FormItem>
        </Col>
        <Col span="11">
          <FormItem label="评分：">
            <p>{{form.score}}</p>
          </FormItem>
        </Col>
      </Row>
      <Row class="pr">
        <Col span="11">
          <FormItem label="扫码入库数：">
            <p>{{form.increaseQuantity}}</p>
          </FormItem>
        </Col>
        <Col span="11">
          <FormItem label="退货数：">
            <p>{{form.reduceQuantity}}</p>
          </FormItem>
        </Col>
      </Row>
      <Row class="pr">
        <Col span="11">
          <FormItem label="待审基金数：">
            <p>{{form.waitAuditFundQuantity}}</p>
          </FormItem>
        </Col>
       <Col span="11">
          <FormItem label="待审基金：">
            <p>{{form.waitAuditFund}}</p>
          </FormItem>
        </Col>
      </Row>
      <Row>
         <Col span="11">
          <FormItem label="审定基金：">
            <InputNumber v-if="isCheck" v-model="form.waitAuditFundNumber" precision="2" :min="0" :max="2000"></InputNumber>
            <p v-else>{{form.auditFundAmount}}</p>
          </FormItem>
        </Col>
      </Row>
      <Row class="pr">
        <Col span="20">
          <FormItem label="备注">
            <Input v-if="isCheck" type="textarea" v-model="form.auditRemark" :row="2" :maxlength="30"/>
            <p  v-else>{{form.auditRemark}}</p>
          </FormItem>
        </Col>
      </Row>
    </Form>
  </div>
</template>
<script>
  export default {
    props: {
      form: {
        type: Object
      },
      isCheck: {
        type: Boolean,
        default: false
      }
    }
  }
</script>
